home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Auge 4000 / Auge 4000 #54 (1991-04-07)(Amiga User Gruppe Einzugsgebiet 4000).zip / Auge 4000 #54 (1991-04-07)(Amiga User Gruppe Einzugsgebiet 4000).adf / RunBack / RunBack.readme < prev    next >
Text File  |  1991-04-07  |  3KB  |  55 lines

  1.  
  2.                                    RUNBACK
  3.  
  4. There are many different RunBack commands for the Amiga, by several different
  5. authors.  This is the third release of my version.  I think it is the best,
  6. for these reasons:  (1) Since I translated it into assembly, it is now only
  7. 468 bytes long!  (2) It is pure.  You can make it resident.  (3) Since it
  8. uses the NULL: device (included), it is completely bulletproof, unlike
  9. versions that do not use NULL:, and the command it executes can include
  10. redirection.  (4) It has an option to delay after running the other command,
  11. so as to avoid two programs trying to read the disk at the same time.  The
  12. delay can be from one to nine seconds.
  13.  
  14. What RunBack does is execute a CLI command COMPLETELY in the background. 
  15. That means that no connection exists between the background process and the
  16. window you executed it from.  The output is discarded, unless you redirect
  17. it.  The difference between this and using "Run <nil: >nil: command" is that
  18. with Run the process is able to open "*", the current window, and if it does
  19. so the current window is UNABLE TO CLOSE until the command is all finished. 
  20. With this RunBack, any output sent to "*" is discarded.
  21.  
  22. Usage is:  RUNBACK [-digit] command
  23.  
  24. The brackets mean that -digit is optional.  Digit is a numeral from one to
  25. nine, and command is any command you would type into a CLI prompt, including
  26. redirection of input and output.  You can even give more than one command by
  27. putting a + at the end of each line, just like with Run.
  28.  
  29. Example:                RunBack Dir >RAM:Filez DH0: all
  30. Another example:        RunBack -3 GOMF
  31.  
  32. The latter means it will wait three seconds for GOMF to finish loading before
  33. it returns to the CLI.  Ordinarily it would return to the CLI when the
  34. command it starts is only beginning to be loaded from disk.
  35.  
  36. You can use this RunBack as a cheap substitute for the Wait command by just
  37. giving it a delay with no command.  Like, Runback -5 to delay five seconds.
  38.  
  39. You must mount NULL: for this to be usable.  To do that, first copy the file
  40. Null-Handler to your L: directory, then and add the following lines to your
  41. DEVS:MountList file:
  42.  
  43. NULL:      Handler = L:Null-Handler
  44.            Stacksize = 500
  45.            Priority = 5
  46.            GlobVec = 1
  47. #
  48.  
  49. Then you can give the CLI command "Mount NULL:".  Add that command to your
  50. S:Startup-Sequence file as well, if you want to use RunBack regularly.  You
  51. might also want to add the command "Resident C:RunBack".
  52.  
  53. This version of RunBack is by Paul Kienitz and is in the public domain.
  54.  
  55.